package com.lkbaby.proxy.static_proxy;

public class BuyHouseProxy implements BuyHouse {

	private BuyHouse buyHouse;

	public BuyHouseProxy(BuyHouse buyHouse) {
		this.buyHouse = buyHouse;
	}

	@Override
	public void buyHouse() {
		System.out.println("Buy House Before ...");
		this.buyHouse.buyHouse();
		System.out.println("Buy House After ...");
	}
}
